package com.zheng.wechat.mp.dao.model;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class WechatMpActJiugonggeRecordExample implements Serializable {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    private static final long serialVersionUID = 1L;

    public WechatMpActJiugonggeRecordExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria implements Serializable {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andActIdIsNull() {
            addCriterion("act_id is null");
            return (Criteria) this;
        }

        public Criteria andActIdIsNotNull() {
            addCriterion("act_id is not null");
            return (Criteria) this;
        }

        public Criteria andActIdEqualTo(String value) {
            addCriterion("act_id =", value, "actId");
            return (Criteria) this;
        }

        public Criteria andActIdNotEqualTo(String value) {
            addCriterion("act_id <>", value, "actId");
            return (Criteria) this;
        }

        public Criteria andActIdGreaterThan(String value) {
            addCriterion("act_id >", value, "actId");
            return (Criteria) this;
        }

        public Criteria andActIdGreaterThanOrEqualTo(String value) {
            addCriterion("act_id >=", value, "actId");
            return (Criteria) this;
        }

        public Criteria andActIdLessThan(String value) {
            addCriterion("act_id <", value, "actId");
            return (Criteria) this;
        }

        public Criteria andActIdLessThanOrEqualTo(String value) {
            addCriterion("act_id <=", value, "actId");
            return (Criteria) this;
        }

        public Criteria andActIdLike(String value) {
            addCriterion("act_id like", value, "actId");
            return (Criteria) this;
        }

        public Criteria andActIdNotLike(String value) {
            addCriterion("act_id not like", value, "actId");
            return (Criteria) this;
        }

        public Criteria andActIdIn(List<String> values) {
            addCriterion("act_id in", values, "actId");
            return (Criteria) this;
        }

        public Criteria andActIdNotIn(List<String> values) {
            addCriterion("act_id not in", values, "actId");
            return (Criteria) this;
        }

        public Criteria andActIdBetween(String value1, String value2) {
            addCriterion("act_id between", value1, value2, "actId");
            return (Criteria) this;
        }

        public Criteria andActIdNotBetween(String value1, String value2) {
            addCriterion("act_id not between", value1, value2, "actId");
            return (Criteria) this;
        }

        public Criteria andOpenidIsNull() {
            addCriterion("openid is null");
            return (Criteria) this;
        }

        public Criteria andOpenidIsNotNull() {
            addCriterion("openid is not null");
            return (Criteria) this;
        }

        public Criteria andOpenidEqualTo(String value) {
            addCriterion("openid =", value, "openid");
            return (Criteria) this;
        }

        public Criteria andOpenidNotEqualTo(String value) {
            addCriterion("openid <>", value, "openid");
            return (Criteria) this;
        }

        public Criteria andOpenidGreaterThan(String value) {
            addCriterion("openid >", value, "openid");
            return (Criteria) this;
        }

        public Criteria andOpenidGreaterThanOrEqualTo(String value) {
            addCriterion("openid >=", value, "openid");
            return (Criteria) this;
        }

        public Criteria andOpenidLessThan(String value) {
            addCriterion("openid <", value, "openid");
            return (Criteria) this;
        }

        public Criteria andOpenidLessThanOrEqualTo(String value) {
            addCriterion("openid <=", value, "openid");
            return (Criteria) this;
        }

        public Criteria andOpenidLike(String value) {
            addCriterion("openid like", value, "openid");
            return (Criteria) this;
        }

        public Criteria andOpenidNotLike(String value) {
            addCriterion("openid not like", value, "openid");
            return (Criteria) this;
        }

        public Criteria andOpenidIn(List<String> values) {
            addCriterion("openid in", values, "openid");
            return (Criteria) this;
        }

        public Criteria andOpenidNotIn(List<String> values) {
            addCriterion("openid not in", values, "openid");
            return (Criteria) this;
        }

        public Criteria andOpenidBetween(String value1, String value2) {
            addCriterion("openid between", value1, value2, "openid");
            return (Criteria) this;
        }

        public Criteria andOpenidNotBetween(String value1, String value2) {
            addCriterion("openid not between", value1, value2, "openid");
            return (Criteria) this;
        }

        public Criteria andNicknameIsNull() {
            addCriterion("nickname is null");
            return (Criteria) this;
        }

        public Criteria andNicknameIsNotNull() {
            addCriterion("nickname is not null");
            return (Criteria) this;
        }

        public Criteria andNicknameEqualTo(String value) {
            addCriterion("nickname =", value, "nickname");
            return (Criteria) this;
        }

        public Criteria andNicknameNotEqualTo(String value) {
            addCriterion("nickname <>", value, "nickname");
            return (Criteria) this;
        }

        public Criteria andNicknameGreaterThan(String value) {
            addCriterion("nickname >", value, "nickname");
            return (Criteria) this;
        }

        public Criteria andNicknameGreaterThanOrEqualTo(String value) {
            addCriterion("nickname >=", value, "nickname");
            return (Criteria) this;
        }

        public Criteria andNicknameLessThan(String value) {
            addCriterion("nickname <", value, "nickname");
            return (Criteria) this;
        }

        public Criteria andNicknameLessThanOrEqualTo(String value) {
            addCriterion("nickname <=", value, "nickname");
            return (Criteria) this;
        }

        public Criteria andNicknameLike(String value) {
            addCriterion("nickname like", value, "nickname");
            return (Criteria) this;
        }

        public Criteria andNicknameNotLike(String value) {
            addCriterion("nickname not like", value, "nickname");
            return (Criteria) this;
        }

        public Criteria andNicknameIn(List<String> values) {
            addCriterion("nickname in", values, "nickname");
            return (Criteria) this;
        }

        public Criteria andNicknameNotIn(List<String> values) {
            addCriterion("nickname not in", values, "nickname");
            return (Criteria) this;
        }

        public Criteria andNicknameBetween(String value1, String value2) {
            addCriterion("nickname between", value1, value2, "nickname");
            return (Criteria) this;
        }

        public Criteria andNicknameNotBetween(String value1, String value2) {
            addCriterion("nickname not between", value1, value2, "nickname");
            return (Criteria) this;
        }

        public Criteria andAwardsIdIsNull() {
            addCriterion("awards_id is null");
            return (Criteria) this;
        }

        public Criteria andAwardsIdIsNotNull() {
            addCriterion("awards_id is not null");
            return (Criteria) this;
        }

        public Criteria andAwardsIdEqualTo(String value) {
            addCriterion("awards_id =", value, "awardsId");
            return (Criteria) this;
        }

        public Criteria andAwardsIdNotEqualTo(String value) {
            addCriterion("awards_id <>", value, "awardsId");
            return (Criteria) this;
        }

        public Criteria andAwardsIdGreaterThan(String value) {
            addCriterion("awards_id >", value, "awardsId");
            return (Criteria) this;
        }

        public Criteria andAwardsIdGreaterThanOrEqualTo(String value) {
            addCriterion("awards_id >=", value, "awardsId");
            return (Criteria) this;
        }

        public Criteria andAwardsIdLessThan(String value) {
            addCriterion("awards_id <", value, "awardsId");
            return (Criteria) this;
        }

        public Criteria andAwardsIdLessThanOrEqualTo(String value) {
            addCriterion("awards_id <=", value, "awardsId");
            return (Criteria) this;
        }

        public Criteria andAwardsIdLike(String value) {
            addCriterion("awards_id like", value, "awardsId");
            return (Criteria) this;
        }

        public Criteria andAwardsIdNotLike(String value) {
            addCriterion("awards_id not like", value, "awardsId");
            return (Criteria) this;
        }

        public Criteria andAwardsIdIn(List<String> values) {
            addCriterion("awards_id in", values, "awardsId");
            return (Criteria) this;
        }

        public Criteria andAwardsIdNotIn(List<String> values) {
            addCriterion("awards_id not in", values, "awardsId");
            return (Criteria) this;
        }

        public Criteria andAwardsIdBetween(String value1, String value2) {
            addCriterion("awards_id between", value1, value2, "awardsId");
            return (Criteria) this;
        }

        public Criteria andAwardsIdNotBetween(String value1, String value2) {
            addCriterion("awards_id not between", value1, value2, "awardsId");
            return (Criteria) this;
        }

        public Criteria andAwardStatusIsNull() {
            addCriterion("award_status is null");
            return (Criteria) this;
        }

        public Criteria andAwardStatusIsNotNull() {
            addCriterion("award_status is not null");
            return (Criteria) this;
        }

        public Criteria andAwardStatusEqualTo(String value) {
            addCriterion("award_status =", value, "awardStatus");
            return (Criteria) this;
        }

        public Criteria andAwardStatusNotEqualTo(String value) {
            addCriterion("award_status <>", value, "awardStatus");
            return (Criteria) this;
        }

        public Criteria andAwardStatusGreaterThan(String value) {
            addCriterion("award_status >", value, "awardStatus");
            return (Criteria) this;
        }

        public Criteria andAwardStatusGreaterThanOrEqualTo(String value) {
            addCriterion("award_status >=", value, "awardStatus");
            return (Criteria) this;
        }

        public Criteria andAwardStatusLessThan(String value) {
            addCriterion("award_status <", value, "awardStatus");
            return (Criteria) this;
        }

        public Criteria andAwardStatusLessThanOrEqualTo(String value) {
            addCriterion("award_status <=", value, "awardStatus");
            return (Criteria) this;
        }

        public Criteria andAwardStatusLike(String value) {
            addCriterion("award_status like", value, "awardStatus");
            return (Criteria) this;
        }

        public Criteria andAwardStatusNotLike(String value) {
            addCriterion("award_status not like", value, "awardStatus");
            return (Criteria) this;
        }

        public Criteria andAwardStatusIn(List<String> values) {
            addCriterion("award_status in", values, "awardStatus");
            return (Criteria) this;
        }

        public Criteria andAwardStatusNotIn(List<String> values) {
            addCriterion("award_status not in", values, "awardStatus");
            return (Criteria) this;
        }

        public Criteria andAwardStatusBetween(String value1, String value2) {
            addCriterion("award_status between", value1, value2, "awardStatus");
            return (Criteria) this;
        }

        public Criteria andAwardStatusNotBetween(String value1, String value2) {
            addCriterion("award_status not between", value1, value2, "awardStatus");
            return (Criteria) this;
        }

        public Criteria andAwardCodeIsNull() {
            addCriterion("award_code is null");
            return (Criteria) this;
        }

        public Criteria andAwardCodeIsNotNull() {
            addCriterion("award_code is not null");
            return (Criteria) this;
        }

        public Criteria andAwardCodeEqualTo(String value) {
            addCriterion("award_code =", value, "awardCode");
            return (Criteria) this;
        }

        public Criteria andAwardCodeNotEqualTo(String value) {
            addCriterion("award_code <>", value, "awardCode");
            return (Criteria) this;
        }

        public Criteria andAwardCodeGreaterThan(String value) {
            addCriterion("award_code >", value, "awardCode");
            return (Criteria) this;
        }

        public Criteria andAwardCodeGreaterThanOrEqualTo(String value) {
            addCriterion("award_code >=", value, "awardCode");
            return (Criteria) this;
        }

        public Criteria andAwardCodeLessThan(String value) {
            addCriterion("award_code <", value, "awardCode");
            return (Criteria) this;
        }

        public Criteria andAwardCodeLessThanOrEqualTo(String value) {
            addCriterion("award_code <=", value, "awardCode");
            return (Criteria) this;
        }

        public Criteria andAwardCodeLike(String value) {
            addCriterion("award_code like", value, "awardCode");
            return (Criteria) this;
        }

        public Criteria andAwardCodeNotLike(String value) {
            addCriterion("award_code not like", value, "awardCode");
            return (Criteria) this;
        }

        public Criteria andAwardCodeIn(List<String> values) {
            addCriterion("award_code in", values, "awardCode");
            return (Criteria) this;
        }

        public Criteria andAwardCodeNotIn(List<String> values) {
            addCriterion("award_code not in", values, "awardCode");
            return (Criteria) this;
        }

        public Criteria andAwardCodeBetween(String value1, String value2) {
            addCriterion("award_code between", value1, value2, "awardCode");
            return (Criteria) this;
        }

        public Criteria andAwardCodeNotBetween(String value1, String value2) {
            addCriterion("award_code not between", value1, value2, "awardCode");
            return (Criteria) this;
        }

        public Criteria andRecieveStatusIsNull() {
            addCriterion("recieve_status is null");
            return (Criteria) this;
        }

        public Criteria andRecieveStatusIsNotNull() {
            addCriterion("recieve_status is not null");
            return (Criteria) this;
        }

        public Criteria andRecieveStatusEqualTo(String value) {
            addCriterion("recieve_status =", value, "recieveStatus");
            return (Criteria) this;
        }

        public Criteria andRecieveStatusNotEqualTo(String value) {
            addCriterion("recieve_status <>", value, "recieveStatus");
            return (Criteria) this;
        }

        public Criteria andRecieveStatusGreaterThan(String value) {
            addCriterion("recieve_status >", value, "recieveStatus");
            return (Criteria) this;
        }

        public Criteria andRecieveStatusGreaterThanOrEqualTo(String value) {
            addCriterion("recieve_status >=", value, "recieveStatus");
            return (Criteria) this;
        }

        public Criteria andRecieveStatusLessThan(String value) {
            addCriterion("recieve_status <", value, "recieveStatus");
            return (Criteria) this;
        }

        public Criteria andRecieveStatusLessThanOrEqualTo(String value) {
            addCriterion("recieve_status <=", value, "recieveStatus");
            return (Criteria) this;
        }

        public Criteria andRecieveStatusLike(String value) {
            addCriterion("recieve_status like", value, "recieveStatus");
            return (Criteria) this;
        }

        public Criteria andRecieveStatusNotLike(String value) {
            addCriterion("recieve_status not like", value, "recieveStatus");
            return (Criteria) this;
        }

        public Criteria andRecieveStatusIn(List<String> values) {
            addCriterion("recieve_status in", values, "recieveStatus");
            return (Criteria) this;
        }

        public Criteria andRecieveStatusNotIn(List<String> values) {
            addCriterion("recieve_status not in", values, "recieveStatus");
            return (Criteria) this;
        }

        public Criteria andRecieveStatusBetween(String value1, String value2) {
            addCriterion("recieve_status between", value1, value2, "recieveStatus");
            return (Criteria) this;
        }

        public Criteria andRecieveStatusNotBetween(String value1, String value2) {
            addCriterion("recieve_status not between", value1, value2, "recieveStatus");
            return (Criteria) this;
        }

        public Criteria andRecieveTimeIsNull() {
            addCriterion("recieve_time is null");
            return (Criteria) this;
        }

        public Criteria andRecieveTimeIsNotNull() {
            addCriterion("recieve_time is not null");
            return (Criteria) this;
        }

        public Criteria andRecieveTimeEqualTo(Date value) {
            addCriterion("recieve_time =", value, "recieveTime");
            return (Criteria) this;
        }

        public Criteria andRecieveTimeNotEqualTo(Date value) {
            addCriterion("recieve_time <>", value, "recieveTime");
            return (Criteria) this;
        }

        public Criteria andRecieveTimeGreaterThan(Date value) {
            addCriterion("recieve_time >", value, "recieveTime");
            return (Criteria) this;
        }

        public Criteria andRecieveTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("recieve_time >=", value, "recieveTime");
            return (Criteria) this;
        }

        public Criteria andRecieveTimeLessThan(Date value) {
            addCriterion("recieve_time <", value, "recieveTime");
            return (Criteria) this;
        }

        public Criteria andRecieveTimeLessThanOrEqualTo(Date value) {
            addCriterion("recieve_time <=", value, "recieveTime");
            return (Criteria) this;
        }

        public Criteria andRecieveTimeIn(List<Date> values) {
            addCriterion("recieve_time in", values, "recieveTime");
            return (Criteria) this;
        }

        public Criteria andRecieveTimeNotIn(List<Date> values) {
            addCriterion("recieve_time not in", values, "recieveTime");
            return (Criteria) this;
        }

        public Criteria andRecieveTimeBetween(Date value1, Date value2) {
            addCriterion("recieve_time between", value1, value2, "recieveTime");
            return (Criteria) this;
        }

        public Criteria andRecieveTimeNotBetween(Date value1, Date value2) {
            addCriterion("recieve_time not between", value1, value2, "recieveTime");
            return (Criteria) this;
        }

        public Criteria andAwardTimeIsNull() {
            addCriterion("award_time is null");
            return (Criteria) this;
        }

        public Criteria andAwardTimeIsNotNull() {
            addCriterion("award_time is not null");
            return (Criteria) this;
        }

        public Criteria andAwardTimeEqualTo(Date value) {
            addCriterion("award_time =", value, "awardTime");
            return (Criteria) this;
        }

        public Criteria andAwardTimeNotEqualTo(Date value) {
            addCriterion("award_time <>", value, "awardTime");
            return (Criteria) this;
        }

        public Criteria andAwardTimeGreaterThan(Date value) {
            addCriterion("award_time >", value, "awardTime");
            return (Criteria) this;
        }

        public Criteria andAwardTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("award_time >=", value, "awardTime");
            return (Criteria) this;
        }

        public Criteria andAwardTimeLessThan(Date value) {
            addCriterion("award_time <", value, "awardTime");
            return (Criteria) this;
        }

        public Criteria andAwardTimeLessThanOrEqualTo(Date value) {
            addCriterion("award_time <=", value, "awardTime");
            return (Criteria) this;
        }

        public Criteria andAwardTimeIn(List<Date> values) {
            addCriterion("award_time in", values, "awardTime");
            return (Criteria) this;
        }

        public Criteria andAwardTimeNotIn(List<Date> values) {
            addCriterion("award_time not in", values, "awardTime");
            return (Criteria) this;
        }

        public Criteria andAwardTimeBetween(Date value1, Date value2) {
            addCriterion("award_time between", value1, value2, "awardTime");
            return (Criteria) this;
        }

        public Criteria andAwardTimeNotBetween(Date value1, Date value2) {
            addCriterion("award_time not between", value1, value2, "awardTime");
            return (Criteria) this;
        }

        public Criteria andRealnameIsNull() {
            addCriterion("realname is null");
            return (Criteria) this;
        }

        public Criteria andRealnameIsNotNull() {
            addCriterion("realname is not null");
            return (Criteria) this;
        }

        public Criteria andRealnameEqualTo(String value) {
            addCriterion("realname =", value, "realname");
            return (Criteria) this;
        }

        public Criteria andRealnameNotEqualTo(String value) {
            addCriterion("realname <>", value, "realname");
            return (Criteria) this;
        }

        public Criteria andRealnameGreaterThan(String value) {
            addCriterion("realname >", value, "realname");
            return (Criteria) this;
        }

        public Criteria andRealnameGreaterThanOrEqualTo(String value) {
            addCriterion("realname >=", value, "realname");
            return (Criteria) this;
        }

        public Criteria andRealnameLessThan(String value) {
            addCriterion("realname <", value, "realname");
            return (Criteria) this;
        }

        public Criteria andRealnameLessThanOrEqualTo(String value) {
            addCriterion("realname <=", value, "realname");
            return (Criteria) this;
        }

        public Criteria andRealnameLike(String value) {
            addCriterion("realname like", value, "realname");
            return (Criteria) this;
        }

        public Criteria andRealnameNotLike(String value) {
            addCriterion("realname not like", value, "realname");
            return (Criteria) this;
        }

        public Criteria andRealnameIn(List<String> values) {
            addCriterion("realname in", values, "realname");
            return (Criteria) this;
        }

        public Criteria andRealnameNotIn(List<String> values) {
            addCriterion("realname not in", values, "realname");
            return (Criteria) this;
        }

        public Criteria andRealnameBetween(String value1, String value2) {
            addCriterion("realname between", value1, value2, "realname");
            return (Criteria) this;
        }

        public Criteria andRealnameNotBetween(String value1, String value2) {
            addCriterion("realname not between", value1, value2, "realname");
            return (Criteria) this;
        }

        public Criteria andPhoneIsNull() {
            addCriterion("phone is null");
            return (Criteria) this;
        }

        public Criteria andPhoneIsNotNull() {
            addCriterion("phone is not null");
            return (Criteria) this;
        }

        public Criteria andPhoneEqualTo(String value) {
            addCriterion("phone =", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneNotEqualTo(String value) {
            addCriterion("phone <>", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneGreaterThan(String value) {
            addCriterion("phone >", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneGreaterThanOrEqualTo(String value) {
            addCriterion("phone >=", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneLessThan(String value) {
            addCriterion("phone <", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneLessThanOrEqualTo(String value) {
            addCriterion("phone <=", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneLike(String value) {
            addCriterion("phone like", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneNotLike(String value) {
            addCriterion("phone not like", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneIn(List<String> values) {
            addCriterion("phone in", values, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneNotIn(List<String> values) {
            addCriterion("phone not in", values, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneBetween(String value1, String value2) {
            addCriterion("phone between", value1, value2, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneNotBetween(String value1, String value2) {
            addCriterion("phone not between", value1, value2, "phone");
            return (Criteria) this;
        }

        public Criteria andAddressIsNull() {
            addCriterion("address is null");
            return (Criteria) this;
        }

        public Criteria andAddressIsNotNull() {
            addCriterion("address is not null");
            return (Criteria) this;
        }

        public Criteria andAddressEqualTo(String value) {
            addCriterion("address =", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotEqualTo(String value) {
            addCriterion("address <>", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressGreaterThan(String value) {
            addCriterion("address >", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressGreaterThanOrEqualTo(String value) {
            addCriterion("address >=", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressLessThan(String value) {
            addCriterion("address <", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressLessThanOrEqualTo(String value) {
            addCriterion("address <=", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressLike(String value) {
            addCriterion("address like", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotLike(String value) {
            addCriterion("address not like", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressIn(List<String> values) {
            addCriterion("address in", values, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotIn(List<String> values) {
            addCriterion("address not in", values, "address");
            return (Criteria) this;
        }

        public Criteria andAddressBetween(String value1, String value2) {
            addCriterion("address between", value1, value2, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotBetween(String value1, String value2) {
            addCriterion("address not between", value1, value2, "address");
            return (Criteria) this;
        }

        public Criteria andSeqIsNull() {
            addCriterion("seq is null");
            return (Criteria) this;
        }

        public Criteria andSeqIsNotNull() {
            addCriterion("seq is not null");
            return (Criteria) this;
        }

        public Criteria andSeqEqualTo(Integer value) {
            addCriterion("seq =", value, "seq");
            return (Criteria) this;
        }

        public Criteria andSeqNotEqualTo(Integer value) {
            addCriterion("seq <>", value, "seq");
            return (Criteria) this;
        }

        public Criteria andSeqGreaterThan(Integer value) {
            addCriterion("seq >", value, "seq");
            return (Criteria) this;
        }

        public Criteria andSeqGreaterThanOrEqualTo(Integer value) {
            addCriterion("seq >=", value, "seq");
            return (Criteria) this;
        }

        public Criteria andSeqLessThan(Integer value) {
            addCriterion("seq <", value, "seq");
            return (Criteria) this;
        }

        public Criteria andSeqLessThanOrEqualTo(Integer value) {
            addCriterion("seq <=", value, "seq");
            return (Criteria) this;
        }

        public Criteria andSeqIn(List<Integer> values) {
            addCriterion("seq in", values, "seq");
            return (Criteria) this;
        }

        public Criteria andSeqNotIn(List<Integer> values) {
            addCriterion("seq not in", values, "seq");
            return (Criteria) this;
        }

        public Criteria andSeqBetween(Integer value1, Integer value2) {
            addCriterion("seq between", value1, value2, "seq");
            return (Criteria) this;
        }

        public Criteria andSeqNotBetween(Integer value1, Integer value2) {
            addCriterion("seq not between", value1, value2, "seq");
            return (Criteria) this;
        }

        public Criteria andJwidIsNull() {
            addCriterion("jwid is null");
            return (Criteria) this;
        }

        public Criteria andJwidIsNotNull() {
            addCriterion("jwid is not null");
            return (Criteria) this;
        }

        public Criteria andJwidEqualTo(String value) {
            addCriterion("jwid =", value, "jwid");
            return (Criteria) this;
        }

        public Criteria andJwidNotEqualTo(String value) {
            addCriterion("jwid <>", value, "jwid");
            return (Criteria) this;
        }

        public Criteria andJwidGreaterThan(String value) {
            addCriterion("jwid >", value, "jwid");
            return (Criteria) this;
        }

        public Criteria andJwidGreaterThanOrEqualTo(String value) {
            addCriterion("jwid >=", value, "jwid");
            return (Criteria) this;
        }

        public Criteria andJwidLessThan(String value) {
            addCriterion("jwid <", value, "jwid");
            return (Criteria) this;
        }

        public Criteria andJwidLessThanOrEqualTo(String value) {
            addCriterion("jwid <=", value, "jwid");
            return (Criteria) this;
        }

        public Criteria andJwidLike(String value) {
            addCriterion("jwid like", value, "jwid");
            return (Criteria) this;
        }

        public Criteria andJwidNotLike(String value) {
            addCriterion("jwid not like", value, "jwid");
            return (Criteria) this;
        }

        public Criteria andJwidIn(List<String> values) {
            addCriterion("jwid in", values, "jwid");
            return (Criteria) this;
        }

        public Criteria andJwidNotIn(List<String> values) {
            addCriterion("jwid not in", values, "jwid");
            return (Criteria) this;
        }

        public Criteria andJwidBetween(String value1, String value2) {
            addCriterion("jwid between", value1, value2, "jwid");
            return (Criteria) this;
        }

        public Criteria andJwidNotBetween(String value1, String value2) {
            addCriterion("jwid not between", value1, value2, "jwid");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria implements Serializable {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion implements Serializable {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}